Skip to content

Add backward graph extraction for fusible and typical subgraphs#675

Merged
lixinqi merged 3 commits intoPaddlePaddle:developfrom
fangfangssj:feature/backward-graph-extraction
Mar 23, 2026
Merged

Add backward graph extraction for fusible and typical subgraphs#675
lixinqi merged 3 commits intoPaddlePaddle:developfrom
fangfangssj:feature/backward-graph-extraction

Conversation

@fangfangssj
Copy link
Copy Markdown
Contributor

@fangfangssj fangfangssj commented Mar 12, 2026

PR Category

Feature Enhancement

Description

  • Add backward_graph_extractor function in generate_subgraph_dataset.sh to extract train_forward, train_backward, and eval_forward graphs
  • Update backward_graph_extractor.py to output graphs in separate subdirectories by mode (train_forward, train_backward, eval_forward)

Add backward_graph_extractor function to generate_subgraph_dataset.sh
to extract train_forward, train_backward, and eval_forward graphs.
Update backward_graph_extractor.py to output graphs in separate
subdirectories by mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paddle-bot
Copy link
Copy Markdown

paddle-bot bot commented Mar 12, 2026

Thanks for your contribution!

fangfangssj and others added 2 commits March 23, 2026 05:46
…ts in generate_subgraph_dataset.sh

- Keep backward graph extraction functionality (BACKWARD_GRAPH_OUTPUT_DIR, BACKWARD_GRAPH_TYPICAL_OUTPUT_DIR)
- Update model_list to small100_torch_samples_list.txt
- Integrate typical_graph backward graph extraction in main function
- Add backward graph statistics in summary function
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lixinqi lixinqi merged commit ac16e15 into PaddlePaddle:develop Mar 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants